package com.example.forum.services;

import com.example.forum.model.ArticleReply;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IArticleReplyService {
    @Transactional
    void create(ArticleReply articleReply);

    List<ArticleReply> selectByArticleId(Long articleId);

    /**
     * id查询回复
     * */
    ArticleReply selectById(Long id);

    // ReplyId是文章回复表的id
    void addOneBuildReplyCountById(Long ReplyId);

}
